package com.acme.basic;

public class NewCode {

    public void line() {
        System.out.println(1);
        System.out.println(2);
        System.out.println(3);
        System.out.println(4);
    }

    public void branch(int x) {
        if (x == 1) {
            System.out.println("分支1");
        } else if (x == 2) {
            System.out.println("分支2");
        } else {
            System.out.println("分支3");
        }
    }

    public void newLine(int x) {
        System.out.println("newLine");
        System.out.println("newLine");
        System.out.println("newLine");
        System.out.println("newLine");
        System.out.println("newLine");
        System.out.println("newLine");

    }
}
